package com.atguigu.gulimall.product.feign;

import com.atguigu.common.to.es.SkuEsModel;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author wzb
 * @version V1.0
 * @Package com.atguigu.gulimall.product.feign
 * @date 2022-07-06 14:56
 * @Copyright ©
 */
@FeignClient("gulimall-search")
public interface SearchFeignService {


    @PostMapping("/search/save/product")
    public R productStausUp(@RequestBody List<SkuEsModel> skuesModels);


}
